package com.itheima.mapper;

import com.itheima.pojo.OrderSetting;
import org.apache.ibatis.annotations.Mapper;

import java.util.Date;

@Mapper
public interface UserOrderSettingMapper {
    //根据日期查询预约设置
    OrderSetting findByOrderDate(Date date);

    //更新可预约人数
    void editNumberByOrderDate(OrderSetting orderSetting);
}
